package com.fbms.common.bean.base;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.Date;

/**
 * 类描述：TODO
 *
 * @ClassName BaseEntity
 * @Author HappyBoy
 * @Date 2023-03-15 15:34
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public abstract class BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private Date createAt;

    private String createBy;

    private Date updateAt;

    private String updateBy;

    /**
     * 页数
     */
    @Transient
    private Integer offset;

    /**
     * 条数
     */
    @Transient
    private Integer size;

}
